if statement

if statement
sąlyginis sakinys statusas T sritis informatika apibrėžtis Valdymo konstrukcija (struktūra), apibrėžianti ↑sąlygą ir veiksmus, kurie turi būti atliekami priklausomai nuo to, ar sąlyga tenkinama, ar ne. Vartojamas ↑programavimo kalbose, kai reikia nusakyti veiksmų parinkimą – šakojimą. Paprastai tiesiogiai sąlyginiu sakiniu nusakomas vieno veiksmo parinkimas iš dviejų. Norint parinkti vieną veiksmą iš daugiau negu dviejų veiksmų, tenka šiuos veiksmus išreikšti keliais sąlyginiais sakiniais arba vartoti bendresnę konstrukciją – ↑variantinį sakinį. Dažniausiai sąlyginis sakinys pradedamas baziniu žodžiu IF, po kurio rašoma sąlyga (↑loginis reiškinys) ir dvi pasirenkamųjų veiksmų šakos. Viena jų pradedama baziniu žodžiu THEN (po jo rašomi veiksmai, kurie atliekami, kai sąlyga tenkinama), kita – žodžiu ELSE (po jo rašomi veiksmai, kurie atliekami, kai sąlyga netenkinama). Sąlyginis sakinys gali būti pavaizduotas schemomis. Iliustracijas žr. priede. pavyzdys(-iai) sąlyginio sakinio pabaiga, sąlyginis sakinys cikle, sąlyginis sakinys sąlyginiame sakinyje, sutrumpintas sąlyginis sakinys. priedas(-ai) Grafinis formatas, Grafinis formatas atitikmenys: angl. conditional statement; if statement ryšiai: dar žiūrėkloginis reiškinys dar žiūrėkprogramavimo kalba dar žiūrėksąlyga dar žiūrėkvariantinis sakinys

Enciklopedinis kompiuterijos žodynas . . 2008.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Statement analysis — is a learned technique, utilised to examine a person s words todetect for concealed information, missing information and whether the information that person provided is true or false. Anytime someone who is lying or withholding sensitive… …   Wikipedia

  • statement — state·ment n 1 a: an official or formal report or declaration a statement of policy b: an oral or written assertion (as by a witness) or conduct intended as an assertion see also hearsay, prior consistent statement …   Law dictionary

  • statement of principles — ˌstatement of ˈprinciples noun statements of principles PLURALFORM 1. [countable] a statement by an organization of the moral or political beliefs which the organization s actions will be based on: • The statement of principles of the Federation… …   Financial and business terms

  • Statement — may refer to:*Press statement, a statement issued to the news media *statement (logic) that is either true or false *Sentence (linguistics), a type of sentence *Statement (programming), an instruction to execute something that will not return a… …   Wikipedia

  • statement of claim — ˌstatement of ˈclaim noun statements of claim PLURALFORM [countable] LAW a document in which the person bringing a legal action states the facts of a case and the reasons why the accused person should be punished: • Paragraph four of the… …   Financial and business terms

  • statement of cash flows — USA statement of cash flows, Also known as cash flow statement. In financial accounting, a financial statement that shows a company s incoming and outgoing money (sources and uses of cash) during a time period (often quarterly or annually). The… …   Law dictionary

  • statement of operations — USA income statement, Also known as a profit and loss statement or a statement of operations. A financial statement for companies that indicates how revenue (money received from the sale of products and services before expenses are taken out) is… …   Law dictionary

  • statement of affairs — ˌstatement of afˈfairs noun statements of affairs PLURALFORM [countable] ACCOUNTING LAW a document showing a company s assets and liabilities at a certain date. A statement of affairs is usually prepared when a company is about to go bankrupt * * …   Financial and business terms

  • statement of purpose — ˌstatement of ˈpurpose noun [countable] another name for mission statement * * * statement of purpose UK }} US }} noun [C] (plural statements of purpose) ► MISSION STATEMENT(Cf. ↑mission statement) …   Financial and business terms

  • statement of account — ˌstatement of acˈcount noun statements of account PLURALFORM [countable] ACCOUNTING a document sent regularly to a buyer who has an account with a particular seller, showing the dates of invoice S sent to the buyer, the dates and amounts of… …   Financial and business terms

  • statement of truth — A statement to be included in any claim form, application notice or witness statement that confirms that the facts stated therein are true. The statement of truth must be signed by the litigant, or his litigation friend or legal representative or …   Law dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”